<template>
    <div class="my-form">
  <el-form style="max-width: 600px"  >
    <el-form-item label="Password" prop="pass">
      <el-input type="password" v-model="password" autocomplete="off" />
    </el-form-item>
    <el-form-item label="Confirm" prop="checkPass">
      <el-input
      
        type="password"
        autocomplete="off"
      />
    </el-form-item>
    <el-form-item label="Age" prop="age">
      <el-input />
    </el-form-item>
    <el-form-item>
      <el-button type="primary" @click="Submit">
        Submit
      </el-button>
      <el-button>Reset</el-button>
    </el-form-item>
  </el-form>
  </div>
</template>

<script setup>
import { ref } from 'vue';
let password=ref('')

const Submit=()=>{
    console.log("6");
}
</script>

<style>
.my-form{
   
    display: flex;
    justify-content: center;
    align-items: center;
}
</style>